home *** CD-ROM | disk | FTP | other *** search
- 0 print"[147]"
- 1 rem ==================================
- 2 rem commodares problem #44-2 :
- 3 rem frank's children
- 4 rem solution by
- 5 rem keith kushner
- 6 rem ==================================
- 10 r$=chr$(13):fore=1to99:d=e+1:c=2*e+2:b=2*e+c/2:a=2*e+c:on-(e=(c+d)/4)gosub20: nexte:end
- 20 print"andy:";a;r$;"bill:";b;r$;"carl:";c;r$;"dave:";d;r$;"emma:";e;r$:return
-